package org.emet.service;

import org.emet.jee.console.services.SequenceGenarator;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.flex.remoting.RemotingDestination;
import org.springframework.stereotype.Service;

@Service
@RemotingDestination
public class BizNoService {

	@Autowired
	private SequenceGenarator sequenceGenarator;

	public String getNext() {
		return sequenceGenarator.generate(1L);
	}
}
